package com.xci.core.domain;

import io.swagger.annotations.ApiModelProperty;

/**
 * 数据过滤基类
 * @author 吕艳阳
 */
public class BasePageFilter extends BaseFilter {
    /**
     * 页码,从1开始
     */
    @ApiModelProperty(value = "页码,从1开始", example = "1")
    private Integer pageIndex;

    /**
     * 每页数量
     */
    @ApiModelProperty(value = "每页数量", example = "10")
    private Integer pageSize;

    /**
     * 排序字段
     */
    @ApiModelProperty(value = "排序字段")
    private String sortName;

    /**
     * 排序方式
     */
    @ApiModelProperty(value = "排序方式")
    private String sortDir;

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getSortName() {
        return sortName;
    }

    public void setSortName(String sortName) {
        this.sortName = sortName;
    }

    public String getSortDir() {
        return sortDir;
    }

    public void setSortDir(String sortDir) {
        this.sortDir = sortDir;
    }
}